<?php
class events_users extends db_table {
	/**
	 * ID
	 *
	 * @var db_field
	 */
	public $event_user_id;
	/**
	 * Event ID
	 *
	 * @var db_field
	 */
	public $event_id;
	/**
	 * User or group ID
	 *
	 * @var db_field
	 */
	public $user_id;
	/**
	 * Join date
	 *
	 * @var db_field
	 */
	public $join_date;
	/**
	 * Status
	 *
	 * @var db_field
	 */
	public $status;
	
	/**
	 * Constructor
	 *
	 * @param mixed $id
	 */
	public function __construct($id = null) {
		parent::__construct($id);
	}
	
	public static function status_confirmed() {
		return "confirmed";
	}
	
	public static function status_invited() {
		return "invited";
	}
}
?>